push tags earlier
authorJoey Hess <joeyh@joeyh.name>
Thu, 2 Oct 2025 18:43:58 +0000 (14:43 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 2 Oct 2025 18:43:58 +0000 (14:43 -0400)
Build/DistributionUpdate.hs

index bf3a1357a90a038178ab1eb1dc60b387f97be05d..c084b2eeb40eeb69046b97fc0ea75b0c6a2da646 100644 (file)
@@ -163,6 +163,11 @@ makeinfos updated changelogversion = do
                , Param "-f"
                , Param ("git-annex_" ++ changelogversion)
                ]
+       void $ inRepo $ runBool
+               [ Param "git"
+               , Param "push"
+               , Param "--tags"
+               ]
        void $ inRepo $ runBool
                [ Param "annex"
                , Param "move"
@@ -174,11 +179,6 @@ makeinfos updated changelogversion = do
                [ Param "annex"
                , Param "sync"
                ]
-       void $ inRepo $ runBool
-               [ Param "git"
-               , Param "push"
-               , Param "--tags"
-               ]
        
        -- Check for out of date info files.
        infos <- liftIO $ filter (literalOsPath ".info" `OS.isSuffixOf`)